

/* ---------------------Cabinete de avocatura------------*/

header {
  color:rgb(5, 59, 166);
  border: 2px solid rgb(236, 139, 139);
  text-align: center;
  padding:10px;
  background-color: rgb(238, 210, 179);
}
body {
  background-image: url("imagini/justitia.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
}
.butonul {
  display: block;

  margin: 20px auto; 
  border-radius: 10px;
  background-color: rgb(141, 202, 143);
  font-size: 20px;
  border: 2px solid black;
  padding: 5px 15px;
  text-align: center;
  width: 50%;
}
#avocati header {
    display: none;
}

.cabinete-avocatura {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.cabinet-avocat1,.cabinet-avocat2,.cabinet-avocat3,.cabinet-avocat4 {
  background: #fdfdf7;
  padding: 25px;
  color: #000c04;
  

  /* rama principală */
  border: 14px ridge #6383c0;      /* sculptură 3D */
  border-radius: 22px;             /* colțuri rotunjite elegante */

  /* colțuri ornamentate */
  box-shadow:
  inset 0 0 12px rgba(10, 201, 230, 0.676), /* sculptură interioară */
    0 0 18px rgba(69, 144, 88, 0.5);       /* umbră exterioară */

  /* efect lemn */
  background-image:
  linear-gradient(135deg, #78eb0d 0%, #4a8b66 50%, #c9a27b 100%);
  background-size: cover;


  box-sizing: border-box;   /* padding + border incluse în width/height, nu adăugate */
  overflow: hidden;          /* taie orice conținut care tot depășește */
  word-wrap: break-word;     /* rupe cuvintele lungi (ex: email, URL) */
  overflow-wrap: break-word; /* variantă modernă a proprietății de mai sus */
  white-space: normal;       /* asigură-te că textul nu e forțat pe o singură linie */
 }
